3.171 \(\int \cos ^2(a+b x) \sin ^{\frac{3}{2}}(2 a+2 b x) \, dx\)

Optimal. Leaf size=69 \[ \frac{\text{EllipticF}\left (a+b x-\frac{\pi }{4},2\right )}{6 b}+\frac{\sin ^{\frac{5}{2}}(2 a+2 b x)}{10 b}-\frac{\sqrt{\sin (2 a+2 b x)} \cos (2 a+2 b x)}{6 b} \]

[Out]

EllipticF[a - Pi/4 + b*x, 2]/(6*b) - (Cos[2*a + 2*b*x]*Sqrt[Sin[2*a + 2*b*x]])/(6*b) + Sin[2*a + 2*b*x]^(5/2)/
(10*b)

________________________________________________________________________________________

Rubi [A]  time = 0.045327, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {4297, 2635, 2641} \[ \frac{\sin ^{\frac{5}{2}}(2 a+2 b x)}{10 b}+\frac{F\left (\left .a+b x-\frac{\pi }{4}\right |2\right )}{6 b}-\frac{\sqrt{\sin (2 a+2 b x)} \cos (2 a+2 b x)}{6 b} \]

Antiderivative was successfully verified.

[In]

Int[Cos[a + b*x]^2*Sin[2*a + 2*b*x]^(3/2),x]

[Out]

EllipticF[a - Pi/4 + b*x, 2]/(6*b) - (Cos[2*a + 2*b*x]*Sqrt[Sin[2*a + 2*b*x]])/(6*b) + Sin[2*a + 2*b*x]^(5/2)/
(10*b)

Rule 4297

Int[(cos[(a_.) + (b_.)*(x_)]*(e_.))^(m_)*((g_.)*sin[(c_.) + (d_.)*(x_)])^(p_), x_Symbol] :> Simp[(e^2*(e*Cos[a
 + b*x])^(m - 2)*(g*Sin[c + d*x])^(p + 1))/(2*b*g*(m + 2*p)), x] + Dist[(e^2*(m + p - 1))/(m + 2*p), Int[(e*Co
s[a + b*x])^(m - 2)*(g*Sin[c + d*x])^p, x], x] /; FreeQ[{a, b, c, d, e, g, p}, x] && EqQ[b*c - a*d, 0] && EqQ[
d/b, 2] &&  !IntegerQ[p] && GtQ[m, 1] && NeQ[m + 2*p, 0] && IntegersQ[2*m, 2*p]

Rule 2635

Int[((b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> -Simp[(b*Cos[c + d*x]*(b*Sin[c + d*x])^(n - 1))/(d*n),
x] + Dist[(b^2*(n - 1))/n, Int[(b*Sin[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1] && Integer
Q[2*n]

Rule 2641

Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2*EllipticF[(1*(c - Pi/2 + d*x))/2, 2])/d, x] /; FreeQ
[{c, d}, x]

Rubi steps

\begin{align*} \int \cos ^2(a+b x) \sin ^{\frac{3}{2}}(2 a+2 b x) \, dx &=\frac{\sin ^{\frac{5}{2}}(2 a+2 b x)}{10 b}+\frac{1}{2} \int \sin ^{\frac{3}{2}}(2 a+2 b x) \, dx\\ &=-\frac{\cos (2 a+2 b x) \sqrt{\sin (2 a+2 b x)}}{6 b}+\frac{\sin ^{\frac{5}{2}}(2 a+2 b x)}{10 b}+\frac{1}{6} \int \frac{1}{\sqrt{\sin (2 a+2 b x)}} \, dx\\ &=\frac{F\left (\left .a-\frac{\pi }{4}+b x\right |2\right )}{6 b}-\frac{\cos (2 a+2 b x) \sqrt{\sin (2 a+2 b x)}}{6 b}+\frac{\sin ^{\frac{5}{2}}(2 a+2 b x)}{10 b}\\ \end{align*}

Mathematica [A]  time = 0.347827, size = 76, normalized size = 1.1 \[ \frac{20 \sqrt{\sin (2 (a+b x))} \text{EllipticF}\left (a+b x-\frac{\pi }{4},2\right )+9 \sin (2 (a+b x))-10 \sin (4 (a+b x))-3 \sin (6 (a+b x))}{120 b \sqrt{\sin (2 (a+b x))}} \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[a + b*x]^2*Sin[2*a + 2*b*x]^(3/2),x]

[Out]

(20*EllipticF[a - Pi/4 + b*x, 2]*Sqrt[Sin[2*(a + b*x)]] + 9*Sin[2*(a + b*x)] - 10*Sin[4*(a + b*x)] - 3*Sin[6*(
a + b*x)])/(120*b*Sqrt[Sin[2*(a + b*x)]])

________________________________________________________________________________________

Maple [B]  time = 33.345, size = 174364218, normalized size = 2527017.7 \begin{align*} \text{output too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(b*x+a)^2*sin(2*b*x+2*a)^(3/2),x)

[Out]

result too large to display

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \cos \left (b x + a\right )^{2} \sin \left (2 \, b x + 2 \, a\right )^{\frac{3}{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)^2*sin(2*b*x+2*a)^(3/2),x, algorithm="maxima")

[Out]

integrate(cos(b*x + a)^2*sin(2*b*x + 2*a)^(3/2), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\cos \left (b x + a\right )^{2} \sin \left (2 \, b x + 2 \, a\right )^{\frac{3}{2}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)^2*sin(2*b*x+2*a)^(3/2),x, algorithm="fricas")

[Out]

integral(cos(b*x + a)^2*sin(2*b*x + 2*a)^(3/2), x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)**2*sin(2*b*x+2*a)**(3/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \cos \left (b x + a\right )^{2} \sin \left (2 \, b x + 2 \, a\right )^{\frac{3}{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)^2*sin(2*b*x+2*a)^(3/2),x, algorithm="giac")

[Out]

integrate(cos(b*x + a)^2*sin(2*b*x + 2*a)^(3/2), x)